package com.hejia.config;

import com.payeco.config.PayEcoConfig;

/**
 * 易联支付生产环境配置
 * @author hyr
 *
 */
public class ProductPayEcoConfig implements PayEcoConfig {

	// 商户编号，由易联产生，邮件发送给商户；编号有区分互联网金融类型
	private final String merchantId = "902020000233";
	
	// 商户密钥
	private final String merchantKey = "CDF482412EC749B8";
	
	// 商户接收订单通知接口地址；
	private final String merchantNotifyUrl = "http://www.hejiajinrong.com/payeco/notify";
	
	// 商户RSA私钥，商户自己产生（可采用易联提供RSA工具产生）
	private final String merchantRsaPrivateKey = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAMUWxdoYuWBPSSr1nQf1OuwOWKxcBKjyo2bgNnHe3j21xxM4xvkNLh99SeGONF7O22vaLLubNufsyU3ENN6fxHtYnYUNVQlCI1kAA9ZavMnUE/GAY2Opagr/4P+MH/Z3+Ztpx4JKQr6ZVYoCbpgR8yStzptV6nsmQCVjj0+EccAnAgMBAAECgYAqukUqgzGtL4MtTRI+J2wewP14YHqiJfhG1VT4WtjTiBUgla6NT84wBXl+7NVtuGrZdvM7uOquXSdHNMJBgWGW+prOUpLGfRS929pOQjrGfkV73BFmc2wLuNeOkRx2uNT3jjMdKNJ5m5iM7BeDULAdhhWLAL17VQ+1CWrUX81MAQJBAOwt0inPGPsHBBTRtqWp9yaFJIYjiKoAhZyvo18R9kRSXjyKGaNSaU/RdZaEbszk1nZnvXCyUI24ThL+D8dVdTsCQQDVoR+e5Auq8cGXu75UC78zG5dT9NrpK0QlcKZl7+Cu1H5F1yZrRQvO9FvVWSmy1PfoETm/AzEuPdt5gbig1AIFAkACiI9LkYQkFTQvAPzjlAopqJ32rmTl5fGI971Z5LhujS+jmJujy9uDVqzbO3pwyjeet4gpsE/65TI5M+55ZepHAkBOo8JdHjuBUP9f2LfGfpCCwsxhFoijPs8WLTLD4ZrHIOfe08WLxV4EcAWCMxFbiHQ91GF6hDVNfW3We784TPL1AkBTa0lfuEhJ82BNsOePdQzdtuq8eWHHIMSfuqQ+CaeJhvUDxNwQ79PmFx8VHufWD5WBAyhCPToE8UAUU0r+x7i4"; // 互联网金融
	
	// 同步返回地址
	private final String merchantReturnUrl = "https://www.hejiajinrong.com/payeco/syncnotify";

	// 易联服务器地址
	private final String payEcoUrl = "https://mobile.payeco.com";

	// 订单RSA公钥（易联提供）
	private final String payEcoRsaPublicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoymAVb04bvtIrJxczCT/DYYltVlRjBXEBFDYQpjCgSorM/4vnvVXGRb7cIaWpI5SYR6YKrWjvKTJTzD5merQM8hlbKDucxm0DwEj4JbAJvkmDRTUs/MZuYjBrw8wP7Lnr6D6uThqybENRsaJO4G8tv0WMQZ9WLUOknNv0xOzqFQIDAQAB";
		
	// H5支付返回地址
	private final String h5ReturnUrl = "http://h5.hejiajinrong.com/#/trade/";
	
	@Override
	public String getMerchantId() {
		return merchantId;
	}
	
	@Override
	public String getMerchantKey() {
		return merchantKey;
	}

	@Override
	public String getMerchantNotifyUrl() {
		return merchantNotifyUrl;
	}

	@Override
	public String getMerchantRsaPrivateKey() {
		return merchantRsaPrivateKey;
	}

	@Override
	public String getMerchantReturnUrl() {
		return merchantReturnUrl;
	}

	@Override
	public String getPayEcoUrl() {
		return payEcoUrl;
	}

	@Override
	public String getPayEcoRsaPublicKey() {
		return payEcoRsaPublicKey;
	}

	@Override
	public String getH5ReturnUrl() {
		return this.h5ReturnUrl;
	}
}